nrow
{base}
Get number of rows of a data frame
ggplot
{GGPLOT2}
Create a ggplot graph
sum
{base}
Get sum of numeric values or a vector
aes
{GGPLOT2}
Construct aesthetic mapping of a ggplot graph
rm
{base}
Remove objects
quantile
{stats}
Obtain empirical quantiles of a vector
read.csv
{utils}
Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters
seq
{base}
Create a sequence
plot
{graphics}
Generic function from base R to produce a plot
table
{base}
Obtain frequency table of a variable/cross-tabulation of two variables
sd
{stats}
Get standard deviation of a vector
library
{base}
Load an R package
theme_classic
{GGPLOT2}
A minimalistic theme with no gridlines
arrange
{dplyr}
Sort values of data frame according to a variable/combination of varaibles
read_excel
{readxl}
Read an Excel file
range
{base}
Return range of values
boxplot
{graphics}
Plot a simple box plot
c
{base}
Combine values/vectors into a vector
labs
{GGPLOT2}
Customise labels in GGPLOT2
scale_y_continuous
{GGPLOT2}
Customise continuous y axis
ggsave
{ggplot2}
Saves the last ggplot or a specified ggplot object to a file
print
{base}
Print object to the console
geom_density
{GGPLOT2}
Generates a density plot
expression
{base}
Used in plots to add symbols to axes
mean
{base}
Get mean of a vector
mutate
{dplyr}
Modify/create a column in a data frame
theme
{GGPLOT2}
Set theme for GGPLOT2
element_blank
{GGPLOT2}
This theme element draws nothing, and assigns no space
min
{base}
Get minimum of a vector
desc
{dplyr}
Arrange in descending order
max
{base}
Get maximum of a vector
geom_histogram
{GGPLOT2}
Generates a histogram
geom_segment
{GGPLOT2}
Generates a line segment or curve
median
{stats}
Get median of a vector
ordered
{dplyr}
Create an ordered factor
subset
{base}
Return subsets of vectors, matrices or data frames which meet conditions.
with
{base}
evaluate expression in the context of a data frame
cut
{base}
Convert Numeric to Factor
scale_x_continuous
{GGPLOT2}
Customise continuous x axis
which.max
{base}
return index of the largest value in a vector
par
{graphics}
Set parameters of the plotting device
hist
{graphics}
Plot a simple histogram
dnorm
{stats}
Density distribution for the normal distribution
element_text
{GGPLOT2}
Customise text in GGPLOT2
ls
{base}
Return a vector of character strings giving the names of the objects in the specified environment
setwd
{base}
Set Working Directory
var
{stats}
Calculate variance
summary
{base}
Obtain summary statistics or detailed regression output
length
{base}
Returns number of elements in an object
data.frame
{base}
Create a data.frame from vectors
geom_ribbon
{GGPLOT2}
Generates an area plot
element_line
{GGPLOT2}
Customise line appearance
The end!